package com.dy.design_pattern_study.state_pattern.dome2;

import com.dy.design_pattern_study.state_pattern.dome2.entry.Context;
import com.dy.design_pattern_study.state_pattern.dome2.impl.ConcreteStateA;

/**
 * @CreateBy zhangdingyi
 * @Date 2023-04-06
 * @Content
 */
public class client {
    public static void main(String[] args) {
        Context context = new Context(new ConcreteStateA());

        //这里修改对应的状态
        context.Request();
        context.Request();
        context.Request();
        context.Request();

    }
}
